import request from './request'
import store from "../store/index"


//查询本校学生列表
export function getStudent(id,index){
  return request({
    url:'/university/student/'+id
  })
}

//删除学生
export function delStudent(id,uid){
  return request({
    url:'/university/student/'+id,
    method:'delete'
  })
}

//添加学生/单个
export function addStudent(student,id){
  return request({
    url:'',
    method:'put',
    data:student
  })
}

//修改学生信息
export function upStudent(student){
  return request({
    url:'',
    method:'put'
  })
}

